<style type="text/css">
    /*#resourceModal {*/
    /*left:39%*/
    /*}*/
</style>
<h3 class="page-title">资源日查询</h3>
<div class="tabbable-custom">
    <div class="portlet">
        <div class="portlet-title">
            <a href="javascript:void(0);" class="title-operation search-collapse">筛选</a>

        </div>
        <div class="portlet-search-body">
            <form class="form-inline" role="form">
                <div class="row">

                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-calendar"></i>
                                <input class="form-control" ed-date-picker placeholder="开始时间"  ng-model="query.startDate"/>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-calendar"></i>
                                <input class="form-control" ed-date-picker placeholder="结束时间"  ng-model="query.endDate"/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-bus"></i>
                                <input class="form-control" placeholder="线路" ng-model="query.lineNo"/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-bus"></i>
                                <input class="form-control" placeholder="车牌号" ng-model="query.plateNo"/>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-bus"></i>
                                <input class="form-control" placeholder="自编号" ng-model="query.vehicleNo"/>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row" style="margin-top: 5px;">
                    <div class="form-group">
                        <div class="col-md-4">
                            <div class="input-icon">
                                <i class="fa fa-bus"></i>
                                <input class="form-control" placeholder="营运公司" ng-model="query.companyName"/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group" style="margin-left: 15px;">
                        <button class="btn btn-primary" ng-click="queryData()"><i class="fa fa-search"></i> 搜索</button>
                        <button class="btn btn-primary" ng-click="reset()">
                            <i class="fa fa-rotate-left"></i> 重置
                        </button>
                    </div>
                </div>
            </form>
        </div>
        <div class="portlet-body" style="width: 100%">
            <table class="table table-striped table-bordered table-hover dataTable"
                   style="width: 100%">
                <thead>
                <tr>
                    <th style="text-align: center;" style="width:150px;">线路</th>
                    <th style="text-align: center;" style="width:100px;">车辆自编号</th>
                    <th style="text-align: center;" style="width:80px;">车牌号</th>
                    <th style="text-align: center;" style="width:100px;">营运公司</th>
                    <th style="text-align: center;" style="width:100px;">运行时间</th>
                    <!--<th style="text-align: center">操作</th>-->
                </tr>
                </thead>
                <tbody>
                <tr ng-show="showDataList == undefined || showDataList.length == 0">
                    <td colspan="8" style="text-align: center">无数据(请填写数据查询)</td>
                </tr>
                <tr ng-repeat="data in showDataList">
                    <td style="text-align: center;">{{data.searchLineNo}}</td>
                    <td style="text-align: center;">{{data.vehicleNo}}</td>
                    <td style="text-align: center;">{{data.plateNo}}</td>
                    <td style="text-align: center;">{{data.companyName}}</td>
                    <td style="text-align: center;">{{data.runDay | limitTo : '10'}}</td>
                </tr>
                </tbody>
            </table>
        </div>
        <div id="page_bar" style="position: relative; margin-top: 5px; margin-bottom: 25px;">
        </div>
        <div ng-show="total > 0" style="font-family:bold">
            总数：<span>{{total}}</span>
        </div>
    </div>
</div>
